<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the framework as light-weight as possible only the
| absolute minimal resources are loaded by default. For example,
| the database is not connected to automatically since no assumption
| is made regarding whether you intend to use it.  This file lets
| you globally define which systems you would like loaded with every
| request.
|
| -------------------------------------------------------------------
| Instructions
| -------------------------------------------------------------------
|
| These are the things you can load automatically:
|
| 1. Packages
| 2. Libraries
| 3. Helper files
| 4. Custom config files
| 5. Language files
| 6. Models
|
*/

/*
| -------------------------------------------------------------------
|  Auto-load Packges
| -------------------------------------------------------------------
| Prototype:
|
|  $autoload['packages'] = array(APPPATH.'third_party', '/usr/local/shared');
|
*/

$autoload['packages'] = array();


/*
| -------------------------------------------------------------------
|  Auto-load Libraries
| -------------------------------------------------------------------
| These are the classes located in the system/libraries folder
| or in your application/libraries folder.
|
| Prototype:
|
|	$autoload['libraries'] = array('database', 'session', 'xmlrpc');

|	* pyrocache and session is loaded by MY_Controller to allow the site_ref to be set
*/

$autoload['libraries'] = array('asset', 'database', 'template', 'parser','language_entity', 'email',
	 'site_setting_entity', 'sexual_orientation_entity', 'province_setting_entity', 'permission_entity', 'payment_gateway_entity',
	 'city_setting_entity', 'category_entity', 'ads_zone_entity', 'escort_description_entity', 'escort_news_entity',
	 'extras_option_entity', 'eye_option_entity', 'hair_color_option_entity', 'hair_size_option_entity', 'hair_style_option_entity',
	 'media_type_setting_entity', 'package_option_entity', 'payment_method_entity', 'payment_type_entity', 'pricing_time_entity',
	 'pricing_time_option_entity', 'schedule_entity', 'service_option_entity', 'serves_to_option_entity', 'sex_option_entity', 'subcription_option_entity',
	 'transport_option_entity', 'travel_option_entity', 'week_day_entity', 'working_date_entity', 'working_place_entity', 'escort_setting_entity',
	 'digit', 'email_sender', 'module_helper', 'phpvalidator' ,'escort_entity', 'user_entity','priority_option_entity',
	 'cities_entity', 'cities_spain_entity', 'countries_entity', 'provinces_spain_entity', 'states_entity', 'states_spain_entity' ,
	 'media_entity', 'site_entity', 'escort_message_thread_entity', 'locked_escort_entity', 'escort_user_roles_n_zones_entity',
	'escort_user_roles_n_benefits_entity', 'discount_type_entity', 'discount_ticket_entity', 'commercial_objective_entity',
	'volume_discount_entity', 'expense_entity', 'product_entity', 'withdrawal_entity', 'invoice_entity', 'profession_entity',
	'escort_visitted_entity', 'payment_log_entity', 'visitor_contact_entity', 'action_log', 'payment_history', 'discount_config_entity', 'invoice_line_entity',
	'country_setting_entity',
	'point_log_entity'
);


/*
| -------------------------------------------------------------------
|  Auto-load Helper Files
| -------------------------------------------------------------------
| Prototype:
|
|	$autoload['helper'] = array('url', 'file');
*/

$autoload['helper'] = array(
	'debug', 'url', 'form', 'text', 'string', 'language', 'asset', 'pagination', 'array', 'gravatar','picturethumb',
	'markdown', 'comments/comments', 'modules/module', 'users/user', 'sqldefine', 'ioc', 'usersys', 'datesys',
	'phpjs', 'html_form', 'static_define', 'translator'
);

/*
| -------------------------------------------------------------------
|  Auto-load Config files
| -------------------------------------------------------------------
| Prototype:
|
|	$autoload['config'] = array('config1', 'config2');
|
| NOTE: This item is intended for use ONLY if you have created custom
| config files.  Otherwise, leave it blank.
|
*/

$autoload['config'] = array('asset', 'language');


/*
| -------------------------------------------------------------------
|  Auto-load Language files
| -------------------------------------------------------------------
| Prototype:
|
|	$autoload['language'] = array('lang1', 'lang2');
|
| NOTE: Do not include the "_lang" part of your file.  For example
| "codeigniter_lang.php" would be referenced as array('codeigniter');
|
*/

$autoload['language'] = array('errors');


/*
| -------------------------------------------------------------------
|  Auto-load Models
| -------------------------------------------------------------------
| Prototype:
|
|	$autoload['model'] = array('model1', 'model2');
|
*/

// Autoloaded in MY_Controller
//	permissions/permission_m', modules/module_m', 'pages/pages_m
$autoload['model'] = array( 'home/escort_invoice_lines_m' );

/* End of file autoload.php */